package com.cw.entity;

import com.alibaba.excel.annotation.*;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.*;
import io.swagger.annotations.*;
import java.io.*;
import java.math.*;
import java.time.*;
import lombok.*;
import lombok.experimental.*;

/**
 * @author smq
 * @since 2021-04-27
 */
@ApiModel(value = "检验结果明细表")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("LAB_RESULT")
public class LabResult implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "结果主键")
    @TableId("LAB_RESULT_ID")
    private String labResultId;

    @ApiModelProperty(value = "检验结果报告号")
    @ExcelProperty(value = "REPORT_NO")
    @TableField("REPORT_NO")
    private String reportNo;

    @ApiModelProperty(value = "机构编码")
    @ExcelProperty(value = "ORG_CODE")
    @TableField("ORG_CODE")
        private String orgCode;

    @ApiModelProperty(value = "机构名称")
    @ExcelProperty(value = "ORG_NAME")
    @TableField("ORG_NAME")
        private String orgName;

    @ApiModelProperty(value = "报告日期")
    @ExcelProperty(value = "REPORT_DATE")
    @TableField("REPORT_DATE")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime reportDate;

    @ApiModelProperty(value = "检测人编号")
    @ExcelProperty(value = "INSPECTOR_CODE")
    @TableField("INSPECTOR_CODE")
        private String inspectorCode;

    @ApiModelProperty(value = "检测人名称")
    @ExcelProperty(value = "INSPECTOR_NAME")
    @TableField("INSPECTOR_NAME")
        private String inspectorName;

    @ApiModelProperty(value = "审核人编号")
    @ExcelProperty(value = "REVIEWER_CODE")
    @TableField("REVIEWER_CODE")
        private String reviewerCode;

    @ApiModelProperty(value = "审核人名称")
    @ExcelProperty(value = "REVIEWER_NAME")
    @TableField("REVIEWER_NAME")
        private String reviewerName;

    @ApiModelProperty(value = "检测收费代码")
    @ExcelProperty(value = "INSPECTFEE_CODE")
    @TableField("INSPECTFEE_CODE")
        private String inspectfeeCode;

    @ApiModelProperty(value = "检测收费名称")
    @ExcelProperty(value = "INSPECTFEE_NAME")
    @TableField("INSPECTFEE_NAME")
        private String inspectfeeName;

    @ApiModelProperty(value = "检测指标代码")
    @ExcelProperty(value = "INSPECTINDEX_CODE")
    @TableField("INSPECTINDEX_CODE")
        private String inspectindexCode;

    @ApiModelProperty(value = "检测指标名称")
    @ExcelProperty(value = "INSPECTINDEX_NAME")
    @TableField("INSPECTINDEX_NAME")
        private String inspectindexName;

    @ApiModelProperty(value = "检测指标结果")
    @ExcelProperty(value = "INSPECTINDEX_RESULT")
    @TableField("INSPECTINDEX_RESULT")
        private String inspectindexResult;

    @ApiModelProperty(value = "检测方法")
    @ExcelProperty(value = "INSPECT_METHOD")
    @TableField("INSPECT_METHOD")
        private String inspectMethod;

    @ApiModelProperty(value = "LOINC编码")
    @ExcelProperty(value = "LOINC_CODE")
    @TableField("LOINC_CODE")
        private String loincCode;

    @ApiModelProperty(value = "设备编码")
    @ExcelProperty(value = "FACILITY_CODE")
    @TableField("FACILITY_CODE")
        private String facilityCode;

    @ApiModelProperty(value = "设备名称")
    @ExcelProperty(value = "FACILITY_NAME")
    @TableField("FACILITY_NAME")
        private String facilityName;

    @ApiModelProperty(value = "仪器编码")
    @ExcelProperty(value = "INSTRUMENT_CODE")
    @TableField("INSTRUMENT_CODE")
        private String instrumentCode;

    @ApiModelProperty(value = "仪器名称")
    @ExcelProperty(value = "INSTRUMENT_NAME")
    @TableField("INSTRUMENT_NAME")
        private String instrumentName;

    @ApiModelProperty(value = "参考值范围")
    @ExcelProperty(value = "REFER_RANGE")
    @TableField("REFER_RANGE")
        private String referRange;

    @ApiModelProperty(value = "计量单位")
    @ExcelProperty(value = "UNIT")
    @TableField("UNIT")
        private String unit;

    @ApiModelProperty(value = "异常提示")
    @ExcelProperty(value = "EXCEPTION_TIP")
    @TableField("EXCEPTION_TIP")
        private String exceptionTip;

    @ApiModelProperty(value = "相关医嘱ID或处方项目明细编号")
    @ExcelProperty(value = "ADVICE_ID")
    @TableField("ADVICE_ID")
        private String adviceId;

    @ApiModelProperty(value = "冲销人员编码")
    @ExcelProperty(value = "WOS_CODE")
    @TableField("WOS_CODE")
        private String wosCode;

    @ApiModelProperty(value = "冲销人员姓名")
    @ExcelProperty(value = "WOS_NAME")
    @TableField("WOS_NAME")
        private String wosName;

    @ApiModelProperty(value = "打印序号")
    @ExcelProperty(value = "PRINT_NO")
    @TableField("PRINT_NO")
        private String printNo;

    @ApiModelProperty(value = "提交时间")
    @ExcelProperty(value = "SUB_DATE")
    @TableField("SUB_DATE")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime subDate;

    @ApiModelProperty(value = "记录状态")
    @ExcelProperty(value = "REC_STATE")
    @TableField("REC_STATE")
        private String recState;

    @ApiModelProperty(value = "完成标志")
    @ExcelProperty(value = "COMP_FLAG")
    @TableField("COMP_FLAG")
        private String compFlag;

    @ExcelProperty(value = "CREATE_TIME")
    @TableField("CREATE_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ExcelProperty(value = "CREATE_BY")
    @TableField("CREATE_BY")
        private String createBy;

    @ExcelProperty(value = "UPDATE_TIME")
    @TableField("UPDATE_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @ExcelProperty(value = "UPDATE_COUNT")
    @TableField("UPDATE_COUNT")
        private BigDecimal updateCount;

    @ExcelProperty(value = "UPDATE_BY")
    @TableField("UPDATE_BY")
        private String updateBy;

    @ExcelProperty(value = "DELETE_TIME")
    @TableField("DELETE_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime deleteTime;

    @ExcelProperty(value = "DELETE_BY")
    @TableField("DELETE_BY")
        private String deleteBy;

    @ExcelProperty(value = "DELETE_FLAG")
    @TableField("DELETE_FLAG")
        private String deleteFlag;



}
